﻿app.controller("Administration", function ($scope, $http) {

    $scope.cluster = [];
    console.log('navi to admin...');

    $scope.release = function (id) {
        if (confirm("delete? " + id)) {
            // TODO:
            alert("deleted!");
        }
    };

    $http.get('bc/admin.json').success(function (response) {
        $scope.cluster = response.cluster;
    });
});